package win.doyto.service.data;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 数据库操作服务
 *
 * @author f0rb
 *
 */
@SpringBootApplication
@ServletComponentScan
@EnableAspectJAutoProxy
@EnableConfigurationProperties
@EnableTransactionManagement(proxyTargetClass = true)
public class DataApplication {

    public static void main(String[] args) {
        SpringApplication.run(DataApplication.class, args);
    }

}